home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 21
/
Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso
/
Aminet
/
comm
/
bbs
/
ta_birthday.lha
/
HappyBirthday.trans
< prev
Wrap
Text File
|
1997-07-11
|
4KB
|
90 lines
/* HappyBirthday gratuliert Usern die am Tag des Einloggens
Geburtstag haben. Dieses Arexx-script sollte an den Anfang
von Logon.trans. Sollte Logon.trans noch nicht vorhanden sein,
kann man es einfach in Logon.trans umbenennen.
Den Text sollte man fuer sein BBS anpassen. Das Script
funktioniert nur richtig, solange der User unter 100 Jahre
alt ist. :-)
Dies ist Version 1.0 (c) 7/97 Hartmut Meiering
Poststr. 79
D-77836 Rheinmuenster
Fidonet 2:2476/266
BBS: AIRLine +49-7227-990764 (33600 BPS & ISDN)
To change to other languages you have to change the Lines 83, 84 and 86. */
options results
systeminfo 'j' ; datum = result
userinfo 'a' ; username = result
userinfo 'x' ; ansi = result
userinfo '5' ; birthday = result
userinfo 'o' ; access = result
vname = word(username,1)
tag = word(birthday,1)
monat = word(birthday,2)
jahr = word(birthday,3)
akttag = word(datum,1)
aktmonat = word(datum,2)
aktjahr = word(datum,3)
cls
if ansi = 'ON' then do
ESC = '1B'X
ANSI_BRIGHT = ESC||'[1m'
NO_ANSI = ESC||'[0m'
BLACK = ESC||'[30m'
RED = ESC||'[31m'
GREEN = ESC||'[32m'
YELLOW = ESC||'[33m'
BLUE = ESC||'[34m'
VIOLET = ESC||'[35m'
CYAN = ESC||'[36m'
WHITE = ESC||'[37m'
end
else if ansi = 'OFF' then do
ANSI_BRIGHT = ''
NO_ANSI = ''
BLACK = ''
RED = ''
GREEN = ''
YELLOW = ''
BLUE = ''
VIOLET = ''
CYAN = ''
WHITE = ''
end
If Access > 0 then do
If tag == akttag then do
if monat == aktmonat then do
If aktjahr < jahr then do
aktjahr = aktjahr + 100
end
alter = aktjahr - jahr
transmit ''
transmit ''
transmit ' '||ANSI_BRIGHT||YELLOW||'³'||NO_ANSI
transmit ' '||ANSI_BRIGHT||YELLOW||'Ä Ä'||NO_ANSI
transmit ' '||ANSI_BRIGHT||YELLOW||'Ä '||WHITE||'Û '||YELLOW||'Ä'||NO_ANSI
transmit ' '||ANSI_BRIGHT||YELLOW||'Ä '||WHITE||'ÞÛÝ '||YELLOW||'Ä'||NO_ANSI
transmit ' '||ANSI_BRIGHT||YELLOW||'Ä '||WHITE||'ÛÛÛ '||YELLOW||'Ä'||NO_ANSI
transmit ' '||ANSI_BRIGHT||YELLOW||'Ä '||WHITE||'ÛÛÛ '||YELLOW||'Ä'||NO_ANSI
transmit ' '||ANSI_BRIGHT||YELLOW||'Ä '||WHITE||'ÞÛÝ '||YELLOW||'Ä'||NO_ANSI
transmit ' '||ANSI_BRIGHT||RED||'ÛÛÛ'||NO_ANSI
transmit ' '||ANSI_BRIGHT||RED||'ÛÛÛ'||NO_ANSI
transmit ' '||ANSI_BRIGHT||RED||'ÛÛÛ'||NO_ANSI
transmit ' '||ANSI_BRIGHT||RED||'ÛÛÛ'||NO_ANSI
transmit ' '||ANSI_BRIGHT||RED||'ÛÛÛ'||NO_ANSI
transmit ' '||ANSI_BRIGHT||WHITE||'Û Û Û Û '||RED||'Û'||WHITE||'Û'||RED||'Û '||WHITE||'Û Û Û Û'||NO_ANSI
transmit ' '||ANSI_BRIGHT||YELLOW||'ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ'||NO_ANSI
transmit ' '||ANSI_BRIGHT||YELLOW||'ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ'||NO_ANSI
transmit ' '||ANSI_BRIGHT||YELLOW||'ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ'||NO_ANSI
transmit ' '||ANSI_BRIGHT||YELLOW||'ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ'||NO_ANSI
transmit ' '||ANSI_BRIGHT||CYAN||'ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß'||NO_ANSI
transmit ANSI_BRIGHT||YELLOW||' Das Team der AIRLine wuenscht dir '||vname||NO_ANSI
transmit ANSI_BRIGHT||CYAN||' alles Gute zum '||alter||'. Geburtstag.'||NO_ANSI
transmit ' '
Query ANSI_BRIGHT||WHITE||'Druecke '||YELLOW||'Return '||WHITE||'zum weitermachen.'||NO_ANSI
end
end
end